package tech.edwardvan.cloudapia.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import tech.edwardvan.cloudcommon.entity.ServerResponse;

/**
 * @author EdwardVan
 */
@FeignClient(name = "cloud-a")
public interface CloudAClient {
    @PostMapping("/a/send")
    ServerResponse<String> send(@RequestParam("messageContent") String messageContent);

}
